const {
    exec,
    escape
} = require('../db/mysql')

const userDeatai = async (id) => {
    let sql = `
                select * from users where id=${id} 
    `
    return listData = await exec(sql)
}

module.exports = {
    list
}